<template>
	<view class="uni-common-mt" style="background:#FFF; padding:20rpx;">
		<rich-text :nodes="nodes"></rich-text>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				nodes: [{
					name: 'div',
					attrs: {
						class: 'div-class',
						style: 'line-height: 60px; color: red; text-align:center;'
					},
					children: [{
						type: 'text',
						text: '谢谢！'
					}]
				}],
			}
		},
		onUnload() {
			console.log("onUnload..");
			uni.navigateTo({
				url: "/pages/mytable/fwb_turnable_lottery/fwb_back"
			})
		},
		mounted(){
			let backButton = document.getElementsByClassName('uni-page-head-hd')[0];
			backButton.style.display = 'none';
		},
		methods: {

		},

	}
</script>

<style lang="less" scoped>
	.form-test {
		margin-top: -20rpx;
		background: #fbfbfb;
		padding-top: 20rpx;
	}

	.btns {
		display: flex;
		padding: 0rpx 20rpx;

		.btn {
			flex: 1;
			padding: 20rpx;
		}
	}
</style>